package com.easyidea.its.web.action.surveillance;

import com.easyidea.its.domain.model.surveillance.VehicleInfo;
import com.easyidea.its.domain.service.surveillance.VehicleInfoService;
import com.easyidea.its.web.action.base.ItsBaseAction;

public class VehicleInfoAction extends ItsBaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = -449156030832101906L;
	
	private VehicleInfoService vehicleInfoService;

	private String plateNumber;
	
	private VehicleInfo vehicleInfo;
	
	public String getVehicleInfoByPlateNumber() {
		this.vehicleInfo = vehicleInfoService.getVehicleInfo(plateNumber);
		return SUCCESS;
	}

	public VehicleInfoService getVehicleInfoService() {
		return vehicleInfoService;
	}

	public void setVehicleInfoService(VehicleInfoService vehicleInfoService) {
		this.vehicleInfoService = vehicleInfoService;
	}


	public VehicleInfo getVehicleInfo() {
		return vehicleInfo;
	}

	public void setVehicleInfo(VehicleInfo vehicleInfo) {
		this.vehicleInfo = vehicleInfo;
	}

	public String getPlateNumber() {
		return plateNumber;
	}

	public void setPlateNumber(String plateNumber) {
		this.plateNumber = plateNumber;
	}
}
